package top.superflow.entity

import java.sql.Date

import javax.persistence.{Column, Index}

@Index(unique=false, name="IDX_TESTTASK_MULTIPLE_PLUGIN_LASTMODIFYUSER", columnList="name,pluginId")
class TestTask {
  @Index(unique=true, name="IDX_TESTTASK_PRIMARY_KEY_TASKID_UNIQUE", columnList={"taskId"})
  @Column
  var taskId : Int = _
  
  @Column(nullable=false, length=256)
  var name : String = _
  
  @Column(nullable=false)
  var pluginId : Int = _  
  
  @Column
  var lastModifyUser : String = _
  var lastModifyDate : Date = _

}